    //
//  InfoMgrViewController.m
//  AirTicket
//
//  Created by zou leeging on 11-1-8.
//  Copyright 2011 aircococ. All rights reserved.
//

#import "InfoMgrViewController.h"


@implementation InfoMgrViewController

// The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
/*
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization.
    }
    return self;
}
*/


// Implement loadView to create a view hierarchy programmatically, without using a nib.
- (void)loadView {
	[super loadView];
	
	UIImage *image = [UIImage imageNamed:@"loginback.png"];
	UIImageView *imgView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, image.size.width, image.size.height)];
	imgView.image = image;
	[self.view addSubview:imgView];
	[imgView release];

	UIButton *button1 = [[UIButton alloc]initWithFrame:CGRectMake(60, 100, 200, 40)];
	[button1 setBackgroundImage:[UIImage imageNamed:@"contact.png"] forState:UIControlStateNormal];
	[button1 setTitle:@"个人信息修改" forState:UIControlStateNormal];
	[button1  addTarget:self action:@selector(editInfo) forControlEvents:UIControlEventTouchUpInside];
	[self.view addSubview:button1];
	[button1 release];
	
	UIButton *button2 = [[UIButton alloc]initWithFrame:CGRectMake(60, 180, 200, 40)];
	[button2 setBackgroundImage:[UIImage imageNamed:@"contact.png"] forState:UIControlStateNormal];
	[button2 setTitle:@"登陆密码修改" forState:UIControlStateNormal];
	[button2 addTarget:self action:@selector(editLoginPassword) forControlEvents:UIControlEventTouchUpInside];
	[self.view addSubview:button2];
	[button2 release];
	
	UIButton *button3 = [[UIButton alloc]initWithFrame:CGRectMake(60, 260, 200, 40)];
	[button3 setBackgroundImage:[UIImage imageNamed:@"contact.png"] forState:UIControlStateNormal];
	[button3 setTitle:@"支付密码修改" forState:UIControlStateNormal];
	[button3 addTarget:self action:@selector(editPayPassword) forControlEvents:UIControlEventTouchUpInside];
	[self.view addSubview:button3];
	[button3 release];
	
}

-(void)editInfo{
	
}

-(void)editLoginPassword {
	
}

-(void)editPayPassword {
	
}
/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    [super viewDidLoad];
}
*/

/*
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Return YES for supported orientations.
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
*/

- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc. that aren't in use.
}

- (void)viewDidUnload {
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}


- (void)dealloc {
    [super dealloc];
}


@end
